Q expandable Class
This tool implements expandable containers that work on most modern browsers, including ones on touchscreens.
Constructor
Q expandable
(
-
$options
Parameters:
-
$options
ArrayOptions for the tool
-
title
StringRequired. The title for the expandable.
-
content
StringThe content. Required unless you pass "items" instead.
-
[items]
Array optionalAn array of strings to wrap in elements and render in the content
-
[class]
String optionalIf you use "items", optionally specify the class of the container elements for each item
-
[title]
Integer optionalA number, if any, to display when collapsed
-
[autoCollapseSiblings]
Boolean optionalWhether, when expanding an expandable, its siblings should be automatically collapsed.
-